#define VERSION_NUMBER 1
#define PACKAGE_SIZE 255


struct request {
	unsigned int fileId;
	unsigned int count;
};

struct package_fs {
	unsigned int fileId;
	unsigned int count;
	char data[PACKAGE_SIZE];
};

struct auth {
	unsigned int fileId;
	unsigned int count;
	unsigned int nsip;
	char data[PACKAGE_SIZE];
	char username[PACKAGE_SIZE];
	char password[PACKAGE_SIZE];
};

program FS_PROG {
	version FS_VERSION {
    request UPLOAD_REQUEST(auth) 					 		 = 1;
		unsigned int UPLOAD_FILE(package_fs)			 = 2;
		package_fs DOWNLOAD_REQUEST(auth)     		 = 3;
		package_fs DOWNLOAD(request)         		 	 = 4;
	} = VERSION_NUMBER;
} = 32700006;
